<template>
  <el-menu
      class="el-menu-vertical-demo"
      default-active="1"
      router
  >
    <el-sub-menu index="1">
      <template #title>
        <el-icon>
          <data-analysis/>
        </el-icon>
        <span>Navigator One</span>
      </template>
      <el-menu-item index="/page1">Page 1</el-menu-item>
      <el-menu-item index="/page2">Page 2</el-menu-item>
      <el-menu-item index="/page3">Page 3</el-menu-item>
      <el-menu-item index="/charge">Charge Page</el-menu-item>
    </el-sub-menu>
  </el-menu>
</template>

<script lang="ts" setup>
import { DataAnalysis } from '@element-plus/icons-vue'
</script>
